package com.gator.desig_mode.combination;



/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @desc 班级 叶子结点
 */
public class Clazz extends School {

  public Clazz(String name, String desc) {
    super(name, desc);
  }

  public Clazz() {
  }


  @Override
  public String getName() {
    return super.getName();
  }

  @Override
  public String getDesc() {
    return super.getDesc();
  }


  @Override
  protected void print() {
    System.out.println(getName())
    ;
  }
}
